AddManyToFront Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a collection of items to the front of the Deque. The indices of all existing items in the Deque are increased by the number of items inserted. The first item in the added collection becomes the first item in the Deque.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public void AddManyToFront(
	IEnumerable<T> collection
)
Visual Basic (Declaration)
Public Sub AddManyToFront ( _
	collection As IEnumerable(Of T) _
)
Visual C++
public:
void AddManyToFront (
	IEnumerable<T>^ collection
)

Parameters

collection
IEnumerable<(Of <T>)>
The collection of items to add.

Remarks

This method takes time O(M), where M is the number of items in the collection.

See Also